package com.ywq.app.biz;


import java.util.List;
import java.util.Map;

import com.ywq.app.domain.ArtAuction;
import com.ywq.app.domain.ArtAuctionPic;
import com.ywq.app.domain.ArtOrders;
import com.ywq.app.domain.ArtReminder;
import com.ywq.app.domain.AuctionSo;
import com.ywq.app.domain.PicBidLog;
import com.ywq.common.exception.AppBusinessException;
import com.ywq.common.page.PageModel;

public interface ArtAuctionBiz {
	public PageModel getArtAuctionList(Integer page) throws AppBusinessException;
	
	public void updateArtAuction(ArtAuction artAuction) throws AppBusinessException;
	
	public void insertArtAuction(ArtAuction artAuction) throws AppBusinessException;
	
	public List<ArtAuction> getOldAuctionList()throws AppBusinessException;
	
	public List<ArtAuction> getNowAuctionList()throws AppBusinessException;
	
	public List<ArtAuction> getOldAuctionListBySize(Integer size)throws AppBusinessException;
	
	public PageModel getRBackList(Integer page) throws AppBusinessException;
	
	public List<ArtAuction> formatTime(List<ArtAuction> rList)throws AppBusinessException;
	
	//public ArtAuction getInAuctionById(String id,AuctionSo auctionSo,String seqtype,String seq)throws AppBusinessException;
	
	public ArtAuction getInAuctionByAucId(String id,AuctionSo auctionSo,String seqtype,String seq)throws AppBusinessException;
	public void insertArtAuctionPic(ArtAuctionPic artAuctionPic)throws AppBusinessException;

	public PageModel getModelRpics(String auctionId,Integer page) throws AppBusinessException;
	
	public void insertArtReminder(ArtReminder artReminder) throws AppBusinessException;
	
	public PageModel getArtAuctionListForMisc(Integer page,Integer pageSize) throws AppBusinessException;
	
	public PageModel getModelRpicsForMisc(String auctionId,Integer page,Integer pageSize) throws AppBusinessException;
	
	public ArtAuction formatTimeAuction(ArtAuction art) throws AppBusinessException;
	
	public void insertArtOrders(ArtOrders artOrders) throws AppBusinessException;
	
	public void unLockAccount(Map<String, Object> map)throws AppBusinessException;
	
	public void lockAccount(Map<String, Object> map)throws AppBusinessException;
	
	public PicBidLog getSumBidPirceLog(String auctionId)throws AppBusinessException;
	
	 public List<PicBidLog> getLogListBid(String picId) throws AppBusinessException;
	 
	 public ArtAuction getAuctionById(String id)throws AppBusinessException;
	 
	 public List<ArtAuctionPic> getAuctionPicListByAid(String auctionId)throws AppBusinessException;
	 
	 public void deleteAuctionPic(String picId,String auctionId)throws AppBusinessException;
	 
	 public String insertFindArtOrders(ArtOrders artOrders) throws AppBusinessException;

}
